import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer';

export class PageParamDto {
  @ApiProperty({
    description: '当前页',
    default: 1,
  })
  current: number;

  @ApiProperty({
    description: '每页数',
    default: 10,
  })
  size: number;

  // @ApiProperty({
  //   description: '第一条数据',
  //   default: 0,
  // })
  // lastId: number;

  @ApiProperty({
    description: '字典id',
    default: 0,
  })
  dictionaryId: number;
}
